package com.netease.image.video;

import android.net.Uri;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class ak
  implements u
{
  private final ArrayList a = new ArrayList();

  public ak(List paramList1, List paramList2, boolean paramBoolean)
  {
    int i = paramList1.size();
    this.a.clear();
    int j = 0;
    if (j < i)
    {
      if (paramBoolean);
      for (Object localObject = new ag(this, (Uri)paramList1.get(j), (String)paramList2.get(j)); ; localObject = new ac(this, (Uri)paramList1.get(j), (String)paramList2.get(j)))
      {
        this.a.add(localObject);
        j++;
        break;
      }
    }
  }

  public HashMap a()
  {
    HashMap localHashMap = new HashMap();
    int i = b();
    for (int j = 0; j < i; j++)
    {
      Uri localUri = c(j).b();
      localHashMap.put(localUri.toString(), Integer.valueOf(localUri.hashCode()));
    }
    return localHashMap;
  }

  public boolean a(a parama)
  {
    return this.a.remove(parama);
  }

  public int b()
  {
    return this.a.size();
  }

  public int b(a parama)
  {
    int i = 0;
    if (i < b())
      if (!c(i).equals(parama));
    while (true)
    {
      return i;
      i++;
      break;
      i = this.a.indexOf(parama);
    }
  }

  public boolean b(int paramInt)
  {
    if (c(paramInt) != null)
      this.a.remove(paramInt);
    for (int i = 1; ; i = 0)
      return i;
  }

  public ac c(int paramInt)
  {
    if ((paramInt < 0) || (paramInt >= b()));
    for (ac localac = null; ; localac = (ac)this.a.get(paramInt))
      return localac;
  }

  public boolean c()
  {
    if (b() == 0);
    for (int i = 1; ; i = 0)
      return i;
  }

  public void d()
  {
    this.a.clear();
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.image.video.ak
 * JD-Core Version:    0.6.0
 */